/** @file popup_dialog.cpp
 * @brief 
 * @author - Robert Zhang <armner@gmail.com>
 *         - Heynie Yao<aheynie@gamil.com>
 * @date 
 * @version 1.0.0
 * @note
 * @note An input dialog for string? digit? \n
 * when button "OK" pushed, return the input string or someting\n
 * when button "Cancel" pushed, return nothing is returned.\n
 */

#ifndef _POPUP_DIALOG_H_
#define _POPUP_DIALOG_H_

#include "dialog.h"
#include "button.h"

class PopupDialog:public Dialog
{
public:
    PopupDialog(HWND parent=0);
    ~PopupDialog();
    
    virtual int run();
    virtual int eventHandler(HWND hWnd, int message, WPARAM wParam, LPARAM lParam);
private:
    virtual void draw(Rect *r);
};

#endif


